package com.cyandpos.pad.offline.upload;

/**
 * Created by xin on 2021/11/2
 * desc:
 */
public class GoodOffline {
    private int discountType;//商品折扣类型
    private String inputCode;//输入码
    private String barCode;//商品条码
    private String code;//商品码
    private int id; //商品ID
    private String goodsGuid;//商品唯一标识
    private String codeBulk;//散装的商品码
    private String name;//商品名称
    private String unit;
    private String spgg;
    private double weight;

    private String classType;
    private int deptId;//商品部门iD
    private String deptCode;//商品部门代码
    private String deptName;//商品部门名称
    private int price;//商品单价
    private int minPrice; //商品最低售价
    private int vipPrice;   //商品的贵宾售价
    private int packItemNewPrice;//商品的组包售价
    private int goodsType;
    private int status;//商品状态
    private int bulkSpType;
    private int ctrlNegSell;
    private double negSell;
    private boolean canDecimal;  //商品数量能不能用小数，例如:电视机只能整数 粮食，可以用小数
    private boolean packaged;  //商品是否是打包商品。true:是打包  false:不是
    private double saleCount;   //商品的销售数量
    private double hasedRefundCount;   //商品的已退货数量数量
    private int saleMoney;//商品的销售金额
    private int discount;//商品的折扣
    private int actPrice;//商品实际单价
    private int crmInx;//传给CRM时的顺序号
    private int crmInxOld;//传给CRM时的顺序号
    private int subTicktInx;//销售时小票号
    private int subGoodsInx;//销售时一张小票内商品的顺序号
    private String canSaleCount; //商品的可销售数量
    private int preferentialMoney; //商品的优惠金额
    private int decreasePreferential;
    private int frontDiscount;  //商品折扣中的前台折扣
    private int frontDiscount_TS;  //商品折扣中的前台折扣
    private int backDiscount;//商品折扣中的后台折扣
    private int memberDiscount;//商品折扣中的会员折扣
    private int decreaseDiscount;
    private int changeDiscount;
    private int discoaddDiscount; //商品折扣中的折上折
    private int jiaslbDiscount; //商品折扣中的加水量变折扣
    private int tourGuideDiscount;//导游卡折扣
    private int discountCouponDiscount;//折扣券折扣
    private int goldProcessingDiscount;//黄金加工费折扣
    private int yhqkAmount;

    private int shopId;//店铺id
    private int discountBillId; //商品折扣中后台折扣单据号
    private int discountBillInx;//商品折扣中后台折扣单据号的顺序号
    private double discountCount;//商品折扣中后台折扣数量
    private int iHsfs;  //核算方式
    private boolean bLimitSell; //是否限量销售
    private int iRefNo_ZK;//参考号_后台折扣
    private int iRefNo_MJ; //参考号_满减折扣
    private int iRefNo_HY;//参考号_会员折扣
    private int iRefNo_JS;//参考号_计数折扣
    int subTicktInx_old;
    int subGoodsInx_old;
    private String yyyPersonCode;//营业员代码
    private int yyyPersonId;//营业员的id
    private String ms_spdl;//大类
    private String ms_spxl;//细类

    public int getDiscountType() {
        return discountType;
    }

    public void setDiscountType(int discountType) {
        this.discountType = discountType;
    }

    public String getInputCode() {
        return inputCode;
    }

    public void setInputCode(String inputCode) {
        this.inputCode = inputCode;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGoodsGuid() {
        return goodsGuid;
    }

    public void setGoodsGuid(String goodsGuid) {
        this.goodsGuid = goodsGuid;
    }

    public String getCodeBulk() {
        return codeBulk;
    }

    public void setCodeBulk(String codeBulk) {
        this.codeBulk = codeBulk;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSpgg() {
        return spgg;
    }

    public void setSpgg(String spgg) {
        this.spgg = spgg;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(int minPrice) {
        this.minPrice = minPrice;
    }

    public int getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(int vipPrice) {
        this.vipPrice = vipPrice;
    }

    public int getPackItemNewPrice() {
        return packItemNewPrice;
    }

    public void setPackItemNewPrice(int packItemNewPrice) {
        this.packItemNewPrice = packItemNewPrice;
    }

    public int getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(int goodsType) {
        this.goodsType = goodsType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getBulkSpType() {
        return bulkSpType;
    }

    public void setBulkSpType(int bulkSpType) {
        this.bulkSpType = bulkSpType;
    }

    public int getCtrlNegSell() {
        return ctrlNegSell;
    }

    public void setCtrlNegSell(int ctrlNegSell) {
        this.ctrlNegSell = ctrlNegSell;
    }

    public double getNegSell() {
        return negSell;
    }

    public void setNegSell(double negSell) {
        this.negSell = negSell;
    }

    public boolean isCanDecimal() {
        return canDecimal;
    }

    public void setCanDecimal(boolean canDecimal) {
        this.canDecimal = canDecimal;
    }

    public boolean isPackaged() {
        return packaged;
    }

    public void setPackaged(boolean packaged) {
        this.packaged = packaged;
    }

    public double getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(double saleCount) {
        this.saleCount = saleCount;
    }

    public double getHasedRefundCount() {
        return hasedRefundCount;
    }

    public void setHasedRefundCount(double hasedRefundCount) {
        this.hasedRefundCount = hasedRefundCount;
    }

    public int getSaleMoney() {
        return saleMoney;
    }

    public void setSaleMoney(int saleMoney) {
        this.saleMoney = saleMoney;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public int getActPrice() {
        return actPrice;
    }

    public void setActPrice(int actPrice) {
        this.actPrice = actPrice;
    }

    public int getCrmInx() {
        return crmInx;
    }

    public void setCrmInx(int crmInx) {
        this.crmInx = crmInx;
    }

    public int getCrmInxOld() {
        return crmInxOld;
    }

    public void setCrmInxOld(int crmInxOld) {
        this.crmInxOld = crmInxOld;
    }

    public int getSubTicktInx() {
        return subTicktInx;
    }

    public void setSubTicktInx(int subTicktInx) {
        this.subTicktInx = subTicktInx;
    }

    public int getSubGoodsInx() {
        return subGoodsInx;
    }

    public void setSubGoodsInx(int subGoodsInx) {
        this.subGoodsInx = subGoodsInx;
    }

    public String getCanSaleCount() {
        return canSaleCount;
    }

    public void setCanSaleCount(String canSaleCount) {
        this.canSaleCount = canSaleCount;
    }

    public int getPreferentialMoney() {
        return preferentialMoney;
    }

    public void setPreferentialMoney(int preferentialMoney) {
        this.preferentialMoney = preferentialMoney;
    }

    public int getDecreasePreferential() {
        return decreasePreferential;
    }

    public void setDecreasePreferential(int decreasePreferential) {
        this.decreasePreferential = decreasePreferential;
    }

    public int getFrontDiscount() {
        return frontDiscount;
    }

    public void setFrontDiscount(int frontDiscount) {
        this.frontDiscount = frontDiscount;
    }

    public int getFrontDiscount_TS() {
        return frontDiscount_TS;
    }

    public void setFrontDiscount_TS(int frontDiscount_TS) {
        this.frontDiscount_TS = frontDiscount_TS;
    }

    public int getBackDiscount() {
        return backDiscount;
    }

    public void setBackDiscount(int backDiscount) {
        this.backDiscount = backDiscount;
    }

    public int getMemberDiscount() {
        return memberDiscount;
    }

    public void setMemberDiscount(int memberDiscount) {
        this.memberDiscount = memberDiscount;
    }

    public int getDecreaseDiscount() {
        return decreaseDiscount;
    }

    public void setDecreaseDiscount(int decreaseDiscount) {
        this.decreaseDiscount = decreaseDiscount;
    }

    public int getChangeDiscount() {
        return changeDiscount;
    }

    public void setChangeDiscount(int changeDiscount) {
        this.changeDiscount = changeDiscount;
    }

    public int getDiscoaddDiscount() {
        return discoaddDiscount;
    }

    public void setDiscoaddDiscount(int discoaddDiscount) {
        this.discoaddDiscount = discoaddDiscount;
    }

    public int getJiaslbDiscount() {
        return jiaslbDiscount;
    }

    public void setJiaslbDiscount(int jiaslbDiscount) {
        this.jiaslbDiscount = jiaslbDiscount;
    }

    public int getTourGuideDiscount() {
        return tourGuideDiscount;
    }

    public void setTourGuideDiscount(int tourGuideDiscount) {
        this.tourGuideDiscount = tourGuideDiscount;
    }

    public int getDiscountCouponDiscount() {
        return discountCouponDiscount;
    }

    public void setDiscountCouponDiscount(int discountCouponDiscount) {
        this.discountCouponDiscount = discountCouponDiscount;
    }

    public int getGoldProcessingDiscount() {
        return goldProcessingDiscount;
    }

    public void setGoldProcessingDiscount(int goldProcessingDiscount) {
        this.goldProcessingDiscount = goldProcessingDiscount;
    }

    public int getYhqkAmount() {
        return yhqkAmount;
    }

    public void setYhqkAmount(int yhqkAmount) {
        this.yhqkAmount = yhqkAmount;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getDiscountBillId() {
        return discountBillId;
    }

    public void setDiscountBillId(int discountBillId) {
        this.discountBillId = discountBillId;
    }

    public int getDiscountBillInx() {
        return discountBillInx;
    }

    public void setDiscountBillInx(int discountBillInx) {
        this.discountBillInx = discountBillInx;
    }

    public double getDiscountCount() {
        return discountCount;
    }

    public void setDiscountCount(double discountCount) {
        this.discountCount = discountCount;
    }

    public int getiHsfs() {
        return iHsfs;
    }

    public void setiHsfs(int iHsfs) {
        this.iHsfs = iHsfs;
    }

    public boolean isbLimitSell() {
        return bLimitSell;
    }

    public void setbLimitSell(boolean bLimitSell) {
        this.bLimitSell = bLimitSell;
    }

    public int getiRefNo_ZK() {
        return iRefNo_ZK;
    }

    public void setiRefNo_ZK(int iRefNo_ZK) {
        this.iRefNo_ZK = iRefNo_ZK;
    }

    public int getiRefNo_MJ() {
        return iRefNo_MJ;
    }

    public void setiRefNo_MJ(int iRefNo_MJ) {
        this.iRefNo_MJ = iRefNo_MJ;
    }

    public int getiRefNo_HY() {
        return iRefNo_HY;
    }

    public void setiRefNo_HY(int iRefNo_HY) {
        this.iRefNo_HY = iRefNo_HY;
    }

    public int getiRefNo_JS() {
        return iRefNo_JS;
    }

    public void setiRefNo_JS(int iRefNo_JS) {
        this.iRefNo_JS = iRefNo_JS;
    }

    public int getSubTicktInx_old() {
        return subTicktInx_old;
    }

    public void setSubTicktInx_old(int subTicktInx_old) {
        this.subTicktInx_old = subTicktInx_old;
    }

    public int getSubGoodsInx_old() {
        return subGoodsInx_old;
    }

    public void setSubGoodsInx_old(int subGoodsInx_old) {
        this.subGoodsInx_old = subGoodsInx_old;
    }

    public String getYyyPersonCode() {
        return yyyPersonCode;
    }

    public void setYyyPersonCode(String yyyPersonCode) {
        this.yyyPersonCode = yyyPersonCode;
    }

    public int getYyyPersonId() {
        return yyyPersonId;
    }

    public void setYyyPersonId(int yyyPersonId) {
        this.yyyPersonId = yyyPersonId;
    }

    public String getMs_spdl() {
        return ms_spdl;
    }

    public void setMs_spdl(String ms_spdl) {
        this.ms_spdl = ms_spdl;
    }

    public String getMs_spxl() {
        return ms_spxl;
    }

    public void setMs_spxl(String ms_spxl) {
        this.ms_spxl = ms_spxl;
    }

    @Override
    public String toString() {
        return "GoodOffline{" +
                "discountType=" + discountType +
                ", inputCode='" + inputCode + '\'' +
                ", barCode='" + barCode + '\'' +
                ", code='" + code + '\'' +
                ", id=" + id +
                ", goodsGuid='" + goodsGuid + '\'' +
                ", codeBulk='" + codeBulk + '\'' +
                ", name='" + name + '\'' +
                ", unit='" + unit + '\'' +
                ", spgg='" + spgg + '\'' +
                ", weight=" + weight +
                ", classType='" + classType + '\'' +
                ", deptId=" + deptId +
                ", deptCode='" + deptCode + '\'' +
                ", deptName='" + deptName + '\'' +
                ", price=" + price +
                ", minPrice=" + minPrice +
                ", vipPrice=" + vipPrice +
                ", packItemNewPrice=" + packItemNewPrice +
                ", goodsType=" + goodsType +
                ", status=" + status +
                ", bulkSpType=" + bulkSpType +
                ", ctrlNegSell=" + ctrlNegSell +
                ", negSell=" + negSell +
                ", canDecimal=" + canDecimal +
                ", packaged=" + packaged +
                ", saleCount=" + saleCount +
                ", hasedRefundCount=" + hasedRefundCount +
                ", saleMoney=" + saleMoney +
                ", discount=" + discount +
                ", actPrice=" + actPrice +
                ", crmInx=" + crmInx +
                ", crmInxOld=" + crmInxOld +
                ", subTicktInx=" + subTicktInx +
                ", subGoodsInx=" + subGoodsInx +
                ", canSaleCount='" + canSaleCount + '\'' +
                ", preferentialMoney=" + preferentialMoney +
                ", decreasePreferential=" + decreasePreferential +
                ", frontDiscount=" + frontDiscount +
                ", frontDiscount_TS=" + frontDiscount_TS +
                ", backDiscount=" + backDiscount +
                ", memberDiscount=" + memberDiscount +
                ", decreaseDiscount=" + decreaseDiscount +
                ", changeDiscount=" + changeDiscount +
                ", discoaddDiscount=" + discoaddDiscount +
                ", jiaslbDiscount=" + jiaslbDiscount +
                ", tourGuideDiscount=" + tourGuideDiscount +
                ", discountCouponDiscount=" + discountCouponDiscount +
                ", goldProcessingDiscount=" + goldProcessingDiscount +
                ", yhqkAmount=" + yhqkAmount +
                ", shopId=" + shopId +
                ", discountBillId=" + discountBillId +
                ", discountBillInx=" + discountBillInx +
                ", discountCount=" + discountCount +
                ", iHsfs=" + iHsfs +
                ", bLimitSell=" + bLimitSell +
                ", iRefNo_ZK=" + iRefNo_ZK +
                ", iRefNo_MJ=" + iRefNo_MJ +
                ", iRefNo_HY=" + iRefNo_HY +
                ", iRefNo_JS=" + iRefNo_JS +
                ", subTicktInx_old=" + subTicktInx_old +
                ", subGoodsInx_old=" + subGoodsInx_old +
                ", yyyPersonCode='" + yyyPersonCode + '\'' +
                ", yyyPersonId=" + yyyPersonId +
                ", ms_spdl='" + ms_spdl + '\'' +
                ", ms_spxl='" + ms_spxl + '\'' +
                '}';
    }
}
